package contactbook.dao;

import contactbook.model.Contact;
import contactbook.model.Group;

public interface ContactDAOInterface {
	public Contact addContact(Contact contact, int groupId);
	public void delete(int contactId);
	public Contact getContactById(int contactId);
	public void affectGroup(int contactId, int groupId);
	public Contact modify(int contactId, Contact temp);
	public int getGroupId(int contactId);
	
	public boolean exists(int contactId);
	public boolean exists(Contact c);
}
